import io.vertx.core.buffer.Buffer
import io.vertx.core.json.JsonObject

class ConfObject():JsonObject() {
  constructor(json:Buffer) : this() {
    this.mergeIn(JsonObject(json))
  }
  val accessKeyId get() = this.getString("accessKeyId")
  val accessKeySecret get() = this.getString("accessKeySecret")
  val duration get() = this.getLong("duration")
  val domain get() = this.getString("domain")
  val rr get() = this.getString("rr")
}
